package com.nami.store.api.response.conversation;

import com.nami.store.api.response.user.UserDTO;
import com.nami.store.api.response.group.GroupDTO;
import com.nami.store.api.response.message.MessageDTO;
import lombok.Data;

import java.io.Serializable;

@Data
public class ConverDetailVO implements Serializable {


    /**
     * 应用
     */
    private String appKey;

    /**
     * 发送者
     */
    private String userId;

    /**
     * 接收者
     */
    private String targetId;

    /**
     * 是否免打扰
     */
    private Boolean ifMute;

    /**
     * 是否置顶
     */
    private Boolean ifTop;

    private Integer converType;

    private String latestMsgId;

    private Integer latestUnreadMsgIndex;
    private Integer latestReadMsgIndex;
    private String latestReadMsgId;
    private Long latestReadMsgTime;
    private Long sortTime;
    private Long syncTime;

    private Long topUpdatedTime;

    private Integer unreadTag;

    private MessageDTO message;

    private GroupDTO group;

    private UserDTO targetUser;


}
